<div id="main">
<div id="contents">
    <fieldset>
        <legend>
            <label sid="dialingRules.table0_title"></label>
        </legend>
        <div class="frame_tab_layer">
            <input type="hidden" value="1" name="tra-dis">
            <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
                <tbody>
                <tr id="tr751">
                    <td style="padding-left:25px;">
                        <input id="radio3" type="radio" onclick="read();" value="1" name="id751">
                        <label sid="dialingRules.table1_radio3"></label>

                        <span style="padding-left:20px;">&nbsp;</span>
                        <input id="radio1" type="radio" onclick="read();" value="off" name="id751">
                        <label sid="dialingRules.table1_radio1"></label>

                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    <fieldset id="id751_1" style="display:none">
        <legend>
            <label sid="dialingRules.table1_title"></label>
        </legend>
        <div class="frame_tab_layer">
            <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
                <tbody>
                <tr>
                    <td style="padding-left:10px;">
                        <input id="dial_4" type="radio" style="display:none" value="LIP" name="dial">
<span id="dialnote_4" style="padding-right:20px;display:none;">
<label sid="dialingRules.autoLine"></label>
</span>
                        <input id="dial_5" type="radio" style="display:none" value="FXO" name="dial">
<span id="dialnote_5" style="padding-right:20px;display:none;">
<label sid="ivr_menu.trunk"></label>
</span>
                        <input id="dial_1" type="radio" checked="" value="IP/S" name="dial">
                        <label sid="dialingRules.dtype1"></label>

                        <span style="padding-right:20px;">&nbsp;</span>
                        <input id="dial_2" type="radio" value="IP" name="dial">
                        <label sid="dialingRules.dtype2"></label>

                        <span style="padding-right:20px;">&nbsp;</span>
                        <input id="dial_3" type="radio" value="ROUTE" name="dial">
                        <label sid="dialingRules.help2"></label>

                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    <fieldset id="id751_off" style="display:none">
        <legend>
            <label sid="dialingRules.table1_title"></label>
            <button id="add_trunk" class="button">
                <label sid="dialingRules.table2_add"></label>
            </button>
        </legend>
        <div class="frame_tab_layer">
            <dl>
                <dd>
                    <table id="tra1" class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                        <tr id="type">
                            <td id="sb111" class="frame_tab_title" align="center" width="80">
                                <label sid="dialingRules.sp2_2"></label>
                            </td>
                            <td id="sb11111" class="frame_tab_title" width="100">
                                <label sid="dialingRules.table1_td2"></label>
                            </td>
                            <td id="sb111112" class="frame_tab_title" width="180">
                                <input type="checkbox" onclick="checkall('tone');" name="all">
                                <label sid="dialingRules.table1_td4"></label>

                            </td>
                            <td id="sb111111" class="frame_tab_title" width="300">
                                <label sid="dialingRules.table1_td3"></label>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </dd>
            </dl>
        </div>
    </fieldset>
    <fieldset>
        <legend>
            <label sid="dialingRules.table2_title"></label>
            <button id="add_extension" class="button">
                <label sid="dialingRules.table2_add"></label>
            </button>
        </legend>
        <div class="frame_tab_layer">
            <dl>
                <dd>
                    <table id="tra2" class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                        <tr>
                            <td id="sb111" class="frame_tab_title" width="100">
                                <label sid="dialingRules.table2_td1"></label>
                            </td>
                            <td id="sb11111" class="frame_tab_title" width="200">
                                <label sid="dialingRules.table2_td2"></label>
                            </td>
                            <td id="sb111111" class="frame_tab_title" width="500">
                                <label sid="dialingRules.table2_td3"></label>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </dd>
            </dl>
        </div>
    </fieldset>
    <fieldset id="dial_ip">
        <legend>
            <label sid="dialingRules.table0_title2"></label>
        </legend>
        <div class="frame_tab_layer">
            <dl>
                <dd>
                    <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                        <tr id="tr32">
                            <td>
                                <label sid="dialingRules.table0_td1"></label>

                                <span style="padding-left:10px;">&nbsp;</span>
                                <input class="step-input" type="text" name="id32_route">
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </dd>
            </dl>
        </div>
    </fieldset>
    <div class="submitFooter">
        <script type="text/javascript">
            var buttonInfo = submitFooterButton(1,0);
            $(".submitFooter").html(buttonInfo);
        </script>
    </div>
</div>
</div>
<br>
<div id="helpContainer">
    <div id="help">
        <div>
            <h2>
                <label sid="share.help"></label>
            </h2>
        </div>
        <div id="helpBody">
        <dl>
            <dt class="term">
                <label sid="dialingRules.sp2"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.sp2Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.sp2_1"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.sp2_1Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.sp2_2"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.sp2_2Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.autoLine"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.autoLineTip"></label>
            </dd>
            <dt class="term">
            <label sid="dialingRules.sp2_3"></label>
           </dt>
            <dd class="definition">
                <label sid="dialingRules.sp2_3Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.iptrunk"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.iptrunkTip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.dtype1"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.dtype1Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.dtype2"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.dtype2Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.dtype3"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.dtype3Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.table1_td4"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.table1_td4Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.table2_title"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.table2_titleTip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.table2_td1"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.table2_td1Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.table2_td2"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.table2_td2Tip"></label><br><br>
                <label sid="dialingRules.order1"></label><br>
                <label sid="dialingRules.order1Tip"></label><br><br>
                <label sid="dialingRules.order2"></label><br>
                <label sid="dialingRules.order2Tip"></label><br><br>
                <label sid="dialingRules.order3"></label><br>
                <label sid="dialingRules.order3Tip"></label>

            </dd>
            <dt class="term">
                <label sid="dialingRules.table2_td3"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.table2_td3Tip"></label>
            </dd>
            <dt class="term">
                <label sid="dialingRules.sp4_1"></label>
            </dt>
            <dd class="definition">
                <label sid="dialingRules.sp4_1Tip"></label>
            </dd>


        </dl>
        </div>
    </div>
</div>

<div id="layer">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="cmenutitle" id="linetest">
<tr>
<td>
<img src="images/load.gif" />
</td>
</tr>
</table>
</div>

<script type="text/javascript" src="js/tra-dis.js"></script>

